From: Richard M. Stallman Date: Tue, 8 May 2007 18:15:07 +0000 (+0000) Subject: (sendmail-pre-abbrev-expand-hook): X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~534^2~5^2~198 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=d46dda39fdc47c79600c1b9e1ae7fe0481f18e73;p=emacs.git (sendmail-pre-abbrev-expand-hook): Don't include non-self-insert commands in the exception for `-'. --- diff --git a/lisp/mail/mailabbrev.el b/lisp/mail/mailabbrev.el index c62cba4822d..b83b3864cb4 100644 --- a/lisp/mail/mailabbrev.el +++ b/lisp/mail/mailabbrev.el @@ -494,6 +494,8 @@ of a mail alias. The value is set up, buffer-local, when first needed.") ;; the usual syntax table. (or (and (integerp last-command-char) + ;; Some commands such as M-> may want to expand first. + (equal this-command 'self-insert) (or (eq (char-syntax last-command-char) ?_) ;; Don't expand on @. (memq last-command-char '(?@ ?. ?% ?! ?_ ?-))))